@echo off

rem Setup ESP32C3 development environment
set ESP32C3_TOOLS_PATH=%~dp0
set PATH=%ESP32C3_TOOLS_PATH%riscv32-esp-elf\bin;%PATH%

rem Set ESP-IDF path (if available)
if exist "%ESP32C3_TOOLS_PATH%esp-idf" (
    set IDF_PATH=%ESP32C3_TOOLS_PATH%esp-idf
    echo ESP-IDF path set to: %IDF_PATH%
)

echo ESP32C3 development environment setup completed.
echo Use 'idf.py' to build and flash ESP32C3 projects.
